/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 培训方案Entity
 * @author dh
 * @version 2017-01-16
 */
public class ResourceTrainprogram extends DataEntity<ResourceTrainprogram> {
	
	private static final long serialVersionUID = 1L;
	private String trainprogramName;		// 培训方案名称
	private String trainprogramAttribute;		// 培训方案属性
	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间
	private Date beginUpdateDate;		// 开始 更新时间
	private Date endUpdateDate;		// 结束 更新时间
	
	public ResourceTrainprogram() {
		super();
	}

	public ResourceTrainprogram(String id){
		super(id);
	}

	@Length(min=1, max=64, message="培训方案名称长度必须介于 1 和 64 之间")
	public String getTrainprogramName() {
		return trainprogramName;
	}

	public void setTrainprogramName(String trainprogramName) {
		this.trainprogramName = trainprogramName;
	}
	
	@Length(min=1, max=1, message="培训方案属性长度必须介于 1 和 1 之间")
	public String getTrainprogramAttribute() {
		return trainprogramAttribute;
	}

	public void setTrainprogramAttribute(String trainprogramAttribute) {
		this.trainprogramAttribute = trainprogramAttribute;
	}
	
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}
	
	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
		
	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}
	
	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}
		
}